package com.piece.blog.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@ApiModel(value = "培训章节模型")
public class TrainingChaptersDTO implements Serializable {

    @ApiModelProperty(value = "主键")
    private Long courseId;

    @ApiModelProperty(value = "章节ID")
    private Long chapterId;

    @ApiModelProperty(value = "章节名称")
    private String chapterName;

    @ApiModelProperty(value = "章节排序")
    private Long sort;

    @ApiModelProperty(value = "课时列表")
    private List<TrainingHourDTO> hours;
}
